<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Methods - DDL queries: GNOME Data Access 5 manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GNOME Data Access 5 manual">
<link rel="up" href="libgda-provider-class.html" title="Virtual methods for providers">
<link rel="prev" href="ch44s04.html" title="Methods - connection management">
<link rel="next" href="ch44s06.html" title="Methods - transactions management">
<meta name="generator" content="GTK-Doc V1.32 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="libgda-provider-class.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="ch44s04.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="ch44s06.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="sect1">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="id-1.9.7.9"></a>Methods - DDL queries</h2></div></div></div>
<p>
      This group of virtual methods is composed of virtual methods which make it possible to handle DDL (data definition) queries
      to be executed using descriptions of the data required for each kind of DDL query, rather than using SQL directly (because
      DDL SQL is usually very database specific and must thus be adapted when migrating to another database type). For more
      information, see the <a class="link" href="ch21.html#DDLIntro" title="General words about DDL queries">global introduction to DDL queries</a>.
    </p>
<p>
      Implementing these methods is not mandatory, and virtual provider's implementation should not implement them.
    </p>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.9.7.9.4"></a>supports_operation()</h3></div></div></div>
<p>
	This virtual method tells if a particular DDL query type is supported (DDL query types are identified as 
      <a class="link" href="GdaServerOperation.html#GdaServerOperationType" title="enum GdaServerOperationType">GdaServerOperationType</a> enums).
      </p>
</div>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.9.7.9.5"></a>create_operation()</h3></div></div></div>
<p>
	This virtual method is used to create and initialize a <a class="link" href="GdaServerOperation.html" title="GdaServerOperation">GdaServerOperation</a>
	object.
      </p>
</div>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.9.7.9.6"></a>render_operation()</h3></div></div></div>
<p>
	This virtual method uses the information stored in a <a class="link" href="GdaServerOperation.html" title="GdaServerOperation">GdaServerOperation</a> object
	to create the SQL statement(s) which would be executed if the operation was performed.
      </p>
<p>
	Note: more than one SQL statement may be returned by this method
      </p>
<p>
	Note: some operations don't return any SQL at all, if the operation can only be done using an API (and not through SQL)
      </p>
</div>
<div class="sect2">
<div class="titlepage"><div><div><h3 class="title">
<a name="id-1.9.7.9.7"></a>perform_operation()</h3></div></div></div>
<p>
	This virtual method "performs" (execute) a <a class="link" href="GdaServerOperation.html" title="GdaServerOperation">GdaServerOperation</a> object.
      </p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.32</div>
</body>
</html>